// @font-face {
//   font-family: "包图小白体";
//   src: url("https://jinyanlong-1305883696.cos.ap-hongkong.myqcloud.com/BaoTuXiaoBaiTi-2.6db277b7.ttf");
// }
// @font-face {
//   font-family: "斗鱼追光体";
//   src: url("https://jinyanlong-1305883696.cos.ap-hongkong.myqcloud.com/douyuFont-2.4bab8dd2.otf");
// }
// html,
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: $textFamily;
  // 鼠标样式
  cursor: url("https://jinyanlong-1305883696.cos.ap-hongkong.myqcloud.com/arrow.cur"), auto;
  background-color: $bodyColor;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}
/************** 滚动条 **************/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  // display:none
}

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: $accentColor;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: $accentColor;
}
::selection {
  background: $selection;
  color: #fff;
}
.image-slot {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  width: 100%;
  height: 100%;
  background: #f1f2f6;
  color: #a8abb2;
  font-size: 14px;
}
// 懒加载状态动画 img
img[lazy="loaded"] {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}
.lazyBackground[lazy="loaded"] {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  background-repeat: no-repeat;
}
// 懒加载状态动画
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
